<div id="icon-edit" class="icon32"><br /></div>

<h2>Add New Review Opinion Surat</h2>


<?php //echo $form->create('Surat'); ?>
<?=form_open('opsurat/saveRE/');?>
<!-- Poststuff -->
<div id="poststuff" class="metabox-holder has-right-sidebar">
    <div id="side-info-column" class="inner-sidebar">
<div id="side-sortables" class="meta-box-sortables"><div id="submitdiv" class="postbox " >
<div class="handlediv" title="Click to toggle"><br /></div>
<!--<h3 class='hndle'><span>Publish</span></h3>-->
<div class="inside">
<div class="submitbox" id="submitpost">
<div id="minor-publishing">

<div style="display:none;">
<input type="submit" name="save" value="Save" />
</div>

<div class="clear"></div>
</div>

<div id="major-publishing-actions">
<div id="delete-action">
<a class="submitdelete deletion" href="http://localhost/wordpress/wp-admin/post.php?post=29&amp;action=trash&amp;_wpnonce=a676421f72">Move to Trash</a></div>

<div id="publishing-action">
<img src="http://localhost/wordpress/wp-admin/images/wpspin_light.gif" id="ajax-loading" style="visibility:hidden;" alt="" />
		<input name="original_publish" type="hidden" id="original_publish" value="Publish" />
		<input name="publish" type="submit" class="button-primary" id="publish" tabindex="5" accesskey="p" value="Simpan Data" />

</div>
<div class="clear"></div>
</div>
</div>

</div>
</div>


<!-- Category 
<div id="categorydiv" class="postbox " >
<div class="handlediv" title="Click to toggle"><br /></div>
<h3 class='hndle'><span>No RE Surat</span></h3>
<div class="inside">
	<div id="taxonomy-category" class="categorydiv">
		<ul id="category-tabs" class="category-tabs">
			<li class="tabs"><a href="#category-all" tabindex="3">Penentuan No</a></li>
			
		</ul>

		<div id="category-all" class="tabs-panel">
            <ul id="categorychecklist" class="list:category categorychecklist form-no-clear">				
             <li id='category-1' class="popular-category">
               <label class="selectit">
               <?php //echo $form->input('no'); ?>
			   <?=form_input('no1',$no,'disabled=disabled');?>
			   <?=form_hidden('no',$no);?>
               </label>
             </li>
			</ul>
		</div>
        
					
		</div>
	</div>
</div>
End Category -->

<!-- Category
<div id="categorydiv" class="postbox " >
<div class="handlediv" title="Click to toggle"><br /></div>
<h3 class='hndle'><span>Tujuan</span></h3>
<div class="inside">
	<div id="taxonomy-category" class="categorydiv">
		<ul id="category-tabs" class="category-tabs">
			<li class="tabs"><a href="#category-all" tabindex="3">Tanda Tangan</a></li>
			
		</ul>

		<div id="category-all" class="tabs-panel">
            <ul id="categorychecklist" class="list:category categorychecklist form-no-clear">				
             <li id='category-1' class="popular-category">
               <label class="selectit">
               <?php $options=array('TS'=>'TS','EP'=>'EP','SW'=>'SW','MPS'=>'MPS','AHW'=>'AHW','EAW'=>'EAW','RM'=>'RM','RS'=>'RS','SP'=>'SP','UGS'=>'UGS','AH'=>'AH','LNS'=>'LNS','YL'=>'YL','ISS'=>'ISS','LW'=>'LW','DPL'=>'DPL','FS'=>'FS','IS'=>'IS','SD'=>'SD','DH'=>'DH','FD'=>'FD'); ?>
               <?=form_dropdown('tujuan',$options);?>
               <?php //echo $form->radio('tujuan',array('TS'=>'TS')); ?>
               </label>
             </li>
             
			</ul>
		</div>
        
					
		</div>
	</div>
</div>
End Category -->


<!-- Category -->
<div id="categorydiv" class="postbox " >
<div class="handlediv" title="Click to toggle"><br /></div>
<h3 class='hndle'><span>Tanggal Review</span></h3>
<div class="inside">
	<div id="taxonomy-category" class="categorydiv">
		<ul id="category-tabs" class="category-tabs">
			<li class="tabs"><a href="#category-all" tabindex="3">Penentuan Tanggal</a></li>
			
		</ul>

		<div id="category-all" class="tabs-panel">
            <ul id="categorychecklist" class="list:category categorychecklist form-no-clear">				
             <li id='category-1' class="popular-category">
               <label class="selectit">
			   <?php $options  =array('01'=>'01','02'=>'02','03'=>'03','04'=>'04','05'=>'05','06'=>'06');?>
			   <?php $options  =$options + array('07'=>'07','08'=>'08','09'=>'09','10'=>'10','11'=>'11','12'=>'12');?>
			   <?php $options  =$options + array('13'=>'13','14'=>'14','15'=>'15','16'=>'16','17'=>'17','18'=>'18');?>
			   <?php $options  =$options + array('19'=>'19','20'=>'20','21'=>'21','22'=>'22','23'=>'23','24'=>'24');?>
			   <?php $options  =$options + array('25'=>'25','26'=>'26','27'=>'27','28'=>'28','29'=>'29','30'=>'30','31'=>'31');?>
			   <?=form_dropdown('day',$options,date('d'));?>
			   <?php $options  =array('01'=>'01','02'=>'02','03'=>'03','04'=>'04','05'=>'05','06'=>'06');?>
			   <?php $options  =$options + array('07'=>'07','08'=>'08','09'=>'09','10'=>'10','11'=>'11','12'=>'12');?>
			   <?=form_dropdown('month',$options,date('m'));?>
			   <?php $options  =array('2011'=>'2011','2012'=>'2012');?>
			   <?=form_dropdown('year',$options,date('y'));?>
               </label>
             </li>
			</ul>
		</div>
        
					
		</div>
	</div>
</div>
<!-- End Category -->




</div>

</div>

<div id="post-body">
<div id="post-body-content">

<div id="normal-sortables" class="meta-box-sortables">

<!-- Field 1 -->
<div id="trackbacksdiv" class="postbox " >
   <div class="handlediv" title="Click to toggle"><br /></div>
    <h3 class='hndle'><span>No.Opini</span></h3>
      <div class="inside">
         <p>
			<select name="id" class="code" tabindex="7" id="trackback_url">
				<?php foreach($option as $rec):?>
					<option value="<?=$rec['id'];?>"><?=$rec['no_op'];?></option>
				<?php endforeach;?>
			</select>
			<br />
            (Input No Opini)
         </p>
          <p>Memasukkan No Opini ke database.</p>
     </div>
</div>
<!-- Field 1 -->

<!-- Field 1 
<div id="trackbacksdiv" class="postbox " >
   <div class="handlediv" title="Click to toggle"><br /></div>
    <h3 class='hndle'><span>Inisial Klien</span></h3>
      <div class="inside">
         <p>
            <?php //echo $form->input('nama_klien',array('class'=>'code','id'=>'trackback_url','tabindex'=>'7')); ?>
            <?=form_input('init_klien','','class="code" tabindex="7" id="trackback_url"');?>
			<br />
            (Input Inisial Klien)
         </p>
          <p>Memasukkan Inisial Klien ke database.</p>
     </div>
</div>
Field 1 -->

<!-- Field 11 
<div id="trackbacksdiv" class="postbox " >
   <div class="handlediv" title="Click to toggle"><br /></div>
    <h3 class='hndle'><span>Nama Cabang</span></h3>
      <div class="inside">
         <p>
            <?php //echo $form->input('nama_klien',array('class'=>'code','id'=>'trackback_url','tabindex'=>'7')); ?>
            <?=form_input('nama_cabang',$this->session->userdata('kap'),'disabled="disabled" class="code" tabindex="7" id="trackback_url"');?>
			<br />
            (Input Nama Cabang)
         </p>
          <p>Nama Cabang</p>
     </div>
</div>
Field 11 -->

<!-- Field 2 
<div id="trackbacksdiv" class="postbox " >
   <div class="handlediv" title="Click to toggle"><br /></div>
    <h3 class='hndle'><span>Alamat Klien</span></h3>
      <div class="inside">
         <p>
            <?php //echo $form->input('alamat',array('class'=>'code','id'=>'trackback_url','tabindex'=>'7')); ?>
            <?=form_input('alamat','','class="code" tabindex="7" id="trackback_url"');?>
			<br />
            (Input Alamat Klien)
         </p>
          <p>Memasukkan Alamat Klien ke database.</p>
     </div>
</div>
Field 2 -->


<!-- Field 3 -->
<div id="trackbacksdiv" class="postbox " >
   <div class="handlediv" title="Click to toggle"><br /></div>
    <h3 class='hndle'><span>Keterangan</span></h3>
      <div class="inside">
         <p>
            <?php //echo $form->input('keterangan',array('class'=>'code','id'=>'trackback_url','tabindex'=>'7')); ?>
            <?=form_input('keterangan','','class="code" tabindex="7" id="trackback_url"');?>
			<br />
            (Keterangan)
         </p>
          <p>Memasukkan Keterangan ke database.</p>
     </div>
</div>
<!-- Field 3 -->





</div>
<div id="advanced-sortables" class="meta-box-sortables"></div>
</div>
</div>
<br class="clear" />

</div>
<!-- Poststuff -->
</form>
